.class public Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;
.super Lcom/nbi/map/search/SearchRequest;

# interfaces
.implements Lcom/nbi/common/NBIObject;


# instance fields
.field private dQ:Lnbisdk/ak;


# direct methods
.method public constructor <init>(Lcom/nbi/common/NBIContext;Lcom/nbi/map/search/movie/MovieSearchInformation;Lcom/nbi/map/search/movie/MovieSearchRequest;IILcom/nbi/map/search/movie/MovieShowtimeSearchListener;)V
    .locals 2

    invoke-direct {p0}, Lcom/nbi/map/search/SearchRequest;-><init>()V

    if-eqz p1, :cond_1

    if-eqz p2, :cond_1

    const/4 v0, -0x2

    if-le p5, v0, :cond_1

    if-eqz p6, :cond_1

    if-eqz p3, :cond_1

    invoke-virtual {p3}, Lcom/nbi/map/search/movie/MovieSearchRequest;->getInternalObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/ak;

    invoke-virtual {v0}, Lnbisdk/ak;->Z()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/eb;

    invoke-virtual {v0, p5}, Lnbisdk/eb;->S(I)V

    invoke-interface {p2, p4}, Lcom/nbi/map/search/movie/MovieSearchInformation;->getEventContent(I)Lcom/nbi/map/data/EventContent;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nbi/map/data/EventContent;->getInternalObject()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/pm;

    invoke-virtual {v1}, Lnbisdk/pm;->eg()Lnbisdk/lg;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/eb;->a(Lnbisdk/lg;)V

    invoke-direct {p0, p1, p6, v0}, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->a(Lcom/nbi/common/NBIContext;Lcom/nbi/map/search/movie/MovieShowtimeSearchListener;Lnbisdk/eb;)V

    :cond_0
    return-void

    :cond_1
    if-nez p1, :cond_2

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "context is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_2
    if-nez p2, :cond_3

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "information is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3
    const/4 v0, -0x1

    if-ge p5, v0, :cond_4

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "sliceSize is incorrect"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_4
    if-nez p6, :cond_5

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "listener is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_5
    if-nez p3, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "request is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public constructor <init>(Lcom/nbi/common/NBIContext;Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;Lcom/nbi/map/search/movie/MovieShowtimeSearchInformation;BLcom/nbi/map/search/movie/MovieShowtimeSearchListener;)V
    .locals 2

    invoke-direct {p0}, Lcom/nbi/map/search/SearchRequest;-><init>()V

    if-eqz p1, :cond_1

    if-eqz p2, :cond_1

    if-eqz p3, :cond_1

    if-eqz p5, :cond_1

    invoke-virtual {p2}, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->getInternalObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/ak;

    iput-object v0, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    iget-object v0, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    invoke-virtual {v0}, Lnbisdk/ak;->Z()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/eb;

    invoke-interface {p3}, Lcom/nbi/map/search/movie/MovieShowtimeSearchInformation;->getInternalObject()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/rn;

    invoke-virtual {v0, p4, v1}, Lnbisdk/eb;->a(BLnbisdk/rn;)V

    invoke-direct {p0, p1, p5, v0}, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->a(Lcom/nbi/common/NBIContext;Lcom/nbi/map/search/movie/MovieShowtimeSearchListener;Lnbisdk/eb;)V

    :cond_0
    return-void

    :cond_1
    if-nez p1, :cond_2

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "context is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_2
    if-nez p2, :cond_3

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "request is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3
    if-nez p3, :cond_4

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "information is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_4
    if-nez p5, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "listener is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method private a(Lcom/nbi/common/NBIContext;Lcom/nbi/map/search/movie/MovieShowtimeSearchListener;Lnbisdk/eb;)V
    .locals 3

    new-instance v0, Lcom/nbi/map/search/movie/f;

    invoke-direct {v0, p0, p2}, Lcom/nbi/map/search/movie/f;-><init>(Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;Lcom/nbi/map/search/movie/MovieShowtimeSearchListener;)V

    invoke-virtual {p1}, Lcom/nbi/common/NBIContext;->getInternalObject()Ljava/lang/Object;

    invoke-static {}, Lnbisdk/bl;->gR()Lcom/navbuilder/nb/f;

    move-result-object v1

    new-instance v2, Lnbisdk/mc;

    invoke-direct {v2, v0}, Lnbisdk/mc;-><init>(Lnbisdk/gh;)V

    invoke-static {v2, v1}, Lnbisdk/fp;->a(Lnbisdk/kk;Lcom/navbuilder/nb/f;)Lnbisdk/df;

    move-result-object v0

    new-instance v1, Lnbisdk/ak;

    invoke-direct {v1, v0, p3}, Lnbisdk/ak;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    iput-object v1, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    return-void
.end method


# virtual methods
.method public cancelRequest()V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    invoke-virtual {v0}, Lnbisdk/ak;->cancelRequest()V

    return-void
.end method

.method public getInternalObject()Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    return-object v0
.end method

.method public isRequestInProgress()Z
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    invoke-virtual {v0}, Lnbisdk/ak;->isRequestInProgress()Z

    move-result v0

    return v0
.end method

.method public startRequest()V
    .locals 2

    iget-object v0, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    invoke-virtual {v0}, Lnbisdk/ak;->Y()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/df;

    iget-object v1, p0, Lcom/nbi/map/search/movie/MovieShowtimeSearchRequest;->dQ:Lnbisdk/ak;

    invoke-virtual {v1}, Lnbisdk/ak;->Z()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/eb;

    invoke-virtual {v0, p0}, Lnbisdk/df;->a(Lnbisdk/ad;)V

    return-void
.end method
